<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Animated Todo List (HTML & CSS Only)</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .todo-container {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 30px;
            width: 100%;
            max-width: 500px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }

        .todo-header {
            color: #2d3748;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 25px;
            text-align: center;
        }

        .todo-list {
            list-style: none;
        }

        .todo-item {
            display: flex;
            align-items: center;
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 12px 16px;
            margin-bottom: 12px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .todo-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .todo-checkbox {
            display: flex;
            align-items: center;
            position: relative;
        }

        .todo-checkbox input[type="checkbox"] {
            width: 22px;
            height: 22px;
            appearance: none;
            border: 2px solid #cbd5e0;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            flex-shrink: 0;
        }

        .todo-checkbox input[type="checkbox"]:checked {
            background: #667eea;
            border-color: #667eea;
        }

        .todo-checkbox input[type="checkbox"]:checked::after {
            content: '✓';
            position: absolute;
            color: white;
            font-size: 14px;
            font-weight: bold;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .todo-text {
            font-size: 1.1rem;
            color: #2d3748;
            line-height: 1.4;
            margin-left: 15px; /* ✅ Added space between checkbox and text */
            flex: 1;
        }

        .todo-checkbox input[type="checkbox"]:checked ~ .todo-text {
            text-decoration: line-through;
            color: #a0aec0;
        }

        /* Responsive */
        @media (max-width: 600px) {
            .todo-container {
                padding: 20px;
            }

            .todo-item {
                padding: 10px 14px;
            }

            .todo-text {
                font-size: 1rem;
            }
        }
    </style>
</head>
<body>
    <div class="todo-container">
        <h1 class="todo-header">Todo List</h1>

        <ul class="todo-list">
            <li class="todo-item">
                <label class="todo-checkbox">
                    <input type="checkbox">
                    <span class="todo-text">Plan weekly schedule</span>
                </label>
            </li>
            <li class="todo-item">
                <label class="todo-checkbox">
                    <input type="checkbox">
                    <span class="todo-text">Complete project proposal</span>
                </label>
            </li>
            <li class="todo-item">
                <label class="todo-checkbox">
                    <input type="checkbox">
                    <span class="todo-text">Research new technologies</span>
                </label>
            </li>
            <li class="todo-item">
                <label class="todo-checkbox">
                    <input type="checkbox">
                    <span class="todo-text">Team meeting preparation</span>
                </label>
            </li>
            <li class="todo-item">
                <label class="todo-checkbox">
                    <input type="checkbox">
                    <span class="todo-text">Review client feedback</span>
                </label>
            </li>
        </ul>
    </div>
</body>
</html>
